package com.googlecode.icecube.push.game;


import java.util.HashMap;
import java.util.Map;

import com.googlecode.icefusion.ui.commons.BackingBeanForm;


/**
 * Manages the game status of a single gamer.
 * 
 * @author Rainer Eschen
 * 
 */
public class Player extends BackingBeanForm {

    private String name;

    /**
     * Manages the Player's Countries. If an other Player is set he has hit the country.
     */
    private Map<String, Player> countries = new HashMap<String, Player>();

    /**
     * @return the name
     */
    public String getName() {
        return name;
    }

    /**
     * @param name the name to set
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * @return the countries
     */
    public Map<String, Player> getCountries() {
        return countries;
    }

    /**
     * @param countries the countries to set
     */
    public void setCountries(Map<String, Player> countries) {
        this.countries = countries;
    }
}
